---
layout: docs
page_title: hcp - Command
description: |-
  Use "hcp" commands to authenticate users and machines to HCP with explicit
  credentials or an HCP token and interactive browser login and to invalidate any live authentication session.
---

> [!IMPORTANT]  
> **Documentation Update:** Product documentation, which were located in this repository under `/website`, are now located in [`hashicorp/web-unified-docs`](https://github.com/hashicorp/web-unified-docs), colocated with all other product documentation. Contributions to this content should be done in the `web-unified-docs` repo, and not this one. Changes made to `/website` content in this repo will not be reflected on the developer.hashicorp.com website.

# hcp

Use `hcp` commands to manage authentication to HCP via proxy,
which allows clients to connect to this cluster securely over the internet with a proxy address and to invalidate any live authentication session.

## Examples

Connect to HCP:

```shell-session
$ vault hcp connect
The default web browser has been opened at <auth_url>. Please continue the login in the web browser.
Success!
```

Disconnect from HCP:
```shell-session
$ vault hcp disconnect
```
